home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / APXMDI.PAK / APXMDAPP.RH < prev    next >
Encoding:
Text File  |  1997-05-06  |  5.9 KB  |  229 lines

  1. //----------------------------------------------------------------------------
  2. //  Project ApxMdi
  3. //  Borland International
  4. //  Copyright ⌐ 1996. All Rights Reserved.
  5. //
  6. //  SUBSYSTEM:    ApxMdi Application
  7. //  FILE:         apxmdapp.h
  8. //  AUTHOR:       
  9. //
  10. //  OVERVIEW
  11. //  ~~~~~~~~
  12. //  Constant definitions for all resources defined in apxmdapp.rc.
  13. //
  14. //----------------------------------------------------------------------------
  15. //#if !defined(apxmdapp_rh)   // Sentry use file only if it's not already included.
  16. //#define apxmdapp_rh
  17.  
  18.  
  19. //
  20. // Application specific definitions:
  21. //
  22. #define IDI_MDIAPPLICATION      1001            // Application icon
  23. #define IDI_DOC                 1002            // MDI child window icon
  24.  
  25. #define IDM_MDI                 100             // Menu resource ID and Accelerator IDs
  26.  
  27. #define IDM_PRINTPREVIEW        200             // Accelerator ID for Print Preview window.
  28.  
  29. //
  30. // CM_FILEnnnn commands (include/owl/editfile.rh except for CM_FILEPRINTPREVIEW)
  31. //
  32. #define CM_MDIFILENEW           24331
  33. #define CM_MDIFILEOPEN          24332
  34. #define CM_FILECLOSE            24339
  35. #define CM_FILESAVE             24333
  36. #define CM_FILESAVEAS           24334
  37. #define CM_FILEPRINT            24337
  38. #define CM_FILEPRINTERSETUP     24338
  39. #define CM_FILEPRINTPREVIEW     24340
  40.  
  41.  
  42. //
  43. // Window commands (include/owl/window.rh)
  44. //
  45. #define CM_EXIT                 24310
  46.  
  47.  
  48. //
  49. // CM_EDITnnnn commands (include/owl/window.rh)
  50. //
  51. #define CM_EDITUNDO             24321
  52. #define CM_EDITCUT              24322
  53. #define CM_EDITCOPY             24323
  54. #define CM_EDITPASTE            24324
  55. #define CM_EDITDELETE           24325
  56. #define CM_EDITCLEAR            24326
  57. #define CM_EDITADD              24327
  58. #define CM_EDITEDIT             24328
  59.  
  60.  
  61. //
  62. // Search menu commands (include/owl/editsear.rh)
  63. //
  64. #define CM_EDITFIND             24351
  65. #define CM_EDITREPLACE          24352
  66. #define CM_EDITFINDNEXT         24353
  67.  
  68.  
  69. //
  70. // Windows menu commands (include/owl/mdi.rh)
  71. //
  72. #define CM_CASCADECHILDREN      24361
  73. #define CM_TILECHILDREN         24362
  74. #define CM_TILECHILDRENHORIZ    24363
  75. #define CM_ARRANGEICONS         24364
  76. #define CM_CLOSECHILDREN        24365
  77. #define CM_CREATECHILD          24366
  78.  
  79.  
  80. //
  81. // Help menu commands.
  82. //
  83. #define CM_HELPABOUT            2009
  84.  
  85.  
  86. //
  87. // About Dialogs
  88. //
  89. #define IDD_ABOUT               22000
  90. #define IDC_VERSION             22001
  91. #define IDC_COPYRIGHT           22002
  92. #define IDC_DEBUG               22003
  93.  
  94.  
  95. //
  96. // OWL defined strings
  97. //
  98.  
  99. //
  100. // Statusbar
  101. //
  102. #define IDS_MODES               32530
  103. #define IDS_MODESOFF            32531
  104.  
  105. //
  106. // EditFile
  107. //
  108. #define IDS_UNTITLED            32550
  109. #define IDS_UNABLEREAD          32551
  110. #define IDS_UNABLEWRITE         32552
  111. #define IDS_FILECHANGED         32553
  112. #define IDS_FILEFILTER          32554
  113.  
  114. //
  115. // EditSearch
  116. //
  117. #define IDS_CANNOTFIND          32540
  118.  
  119.  
  120. //
  121. // General & application exception messages (include/owl/except.rh)
  122. //
  123. #define IDS_UNKNOWNEXCEPTION    32767
  124. #define IDS_OWLEXCEPTION        32766
  125. #define IDS_OKTORESUME          32765
  126. #define IDS_UNHANDLEDXMSG       32764
  127. #define IDS_UNKNOWNERROR        32763
  128. #define IDS_NOAPP               32762
  129. #define IDS_OUTOFMEMORY         32761
  130. #define IDS_INVALIDMODULE       32760
  131. #define IDS_INVALIDMAINWINDOW   32759
  132. #define IDS_VBXLIBRARYFAIL      32758
  133.  
  134. //
  135. // Owl 1 compatibility messages
  136. //
  137. #define IDS_INVALIDWINDOW       32709
  138. #define IDS_INVALIDCHILDWINDOW  32708
  139. #define IDS_INVALIDCLIENTWINDOW 32707
  140.  
  141. //
  142. // TXWindow messages
  143. //
  144. #define IDS_CLASSREGISTERFAIL   32749
  145. #define IDS_CHILDREGISTERFAIL   32748
  146. #define IDS_WINDOWCREATEFAIL    32747
  147. #define IDS_WINDOWEXECUTEFAIL   32746
  148. #define IDS_CHILDCREATEFAIL     32745
  149.  
  150. #define IDS_MENUFAILURE         32744
  151. #define IDS_VALIDATORSYNTAX     32743
  152. #define IDS_PRINTERERROR        32742
  153.  
  154. #define IDS_LAYOUTINCOMPLETE    32741
  155. #define IDS_LAYOUTBADRELWIN     32740
  156.  
  157. //
  158. // TXGdi messages
  159. //
  160. #define IDS_GDIFAILURE          32739
  161. #define IDS_GDIALLOCFAIL        32738
  162. #define IDS_GDICREATEFAIL       32737
  163. #define IDS_GDIRESLOADFAIL      32736
  164. #define IDS_GDIFILEREADFAIL     32735
  165. #define IDS_GDIDELETEFAIL       32734
  166. #define IDS_GDIDESTROYFAIL      32733
  167. #define IDS_INVALIDDIBHANDLE    32732
  168.  
  169.  
  170. //
  171. // Printing error message string resource IDs (include/owl/printer.rh)
  172. //
  173. #define IDS_PRNON               32590
  174. #define IDS_PRNERRORTEMPLATE    32591
  175. #define IDS_PRNOUTOFMEMORY      32592
  176. #define IDS_PRNOUTOFDISK        32593
  177. #define IDS_PRNCANCEL           32594
  178. #define IDS_PRNMGRABORT         32595
  179. #define IDS_PRNGENERROR         32596
  180. #define IDS_PRNERRORCAPTION     32597
  181.  
  182.  
  183. //
  184. // Printer abort dialog & control IDs
  185. //
  186. #define IDD_ABORTDIALOG         32599            // keep different than any string IDs
  187. #define ID_TITLE                101              // Document title text control
  188. #define ID_DEVICE               102              // Device & optional port text control
  189. #define ID_PORT                 103              // Old port text control, unused
  190. #define ID_PAGE                 104              // Page # text control
  191.  
  192.  
  193. //
  194. // Print Preview
  195. //
  196. #define APX_PPR_PREVIOUS        24500
  197. #define APX_PPR_NEXT            24501
  198. #define APX_PPR_ONEUP           24502
  199. #define APX_PPR_TWOUP           24503
  200. #define APX_PPR_CURRPAGE        24504
  201. #define APX_PPR_DONE            24505
  202.  
  203.  
  204. //
  205. // TInputDialog DIALOG resource (include/owl/inputdia.rh)
  206. //
  207. #define IDD_INPUTDIALOG         32514
  208. #define ID_PROMPT               4091
  209. #define ID_INPUT                4090
  210.  
  211.  
  212. //
  213. // TSlider bitmaps (horizontal and vertical) (include/owl/slider.rh)
  214. //
  215. #define IDB_HSLIDERTHUMB        32000
  216. #define IDB_VSLIDERTHUMB        32001
  217.  
  218.  
  219. //
  220. // Validation messages (include/owl/validate.rh)
  221. //
  222. #define IDS_VALPXPCONFORM       32520
  223. #define IDS_VALINVALIDCHAR      32521
  224. #define IDS_VALNOTINRANGE       32522
  225. #define IDS_VALNOTINLIST        32523
  226.  
  227.  
  228. //#endif  // apxmdapp_rh
  229.